// FpCollection_BPA.cpp: implementation of the CFpCollection_BPA class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "../../Include/Swi/FpCollection_BPA.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CFpCollection_BPA::CFpCollection_BPA()
{

}

CFpCollection_BPA::~CFpCollection_BPA()
{

}

CFp_BPA* CFpCollection_BPA::GetFirstFp()
{
	return (CFp_BPA*)CCardCollection_BPA::GetFirstCard();
}

CFp_BPA* CFpCollection_BPA::Traverse(CFp_BPA *pFp, int nDirection)
{
	return (CFp_BPA*)CCardCollection_BPA::Traverse(pFp,nDirection);
}

CFp_BPA* CFpCollection_BPA::GetFp(char *strBusName, double dkV, char nID)
{
	CFp_BPA tempFp;
	strcpy(tempFp.m_strName,strBusName);
	tempFp.m_dkV = dkV;
	tempFp.m_chID = nID;
	return (CFp_BPA*)CCardCollection_BPA::GetCard(&tempFp);
}